package com.charity.system.vo.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 用户中心-部门对象 usc_dept
 *
 */
@Data
@Builder
@RequiredArgsConstructor
@AllArgsConstructor
public class DeptModel {

    private Long id;

    private Long parentId;

    private String ancestors;

    private String deptName;

    private Long sortNum;

    private String leader;

    private String phone;

    private String email;

    private Integer status;

    private Long createId;

    private Date createTime;

    private Long updateId;

    private Date updateTime;
    
    private List<DeptModel> children;

}
